package com.guigu.mapper;

import com.guigu.dto.UserDTO;
import com.guigu.entity.role;
import com.guigu.entity.t_account;
import com.guigu.entity.t_account_role;
import com.guigu.vo.UserVO1;

import java.util.List;
import java.util.Map;

public interface AccountMapper {
    List<UserVO1> query();
    List<role> queryrole();
    void adduser(UserDTO dto);
    void addrole(UserDTO dto);
    void addAccount(t_account account);
    void updateuser(UserDTO dto);
    void Del(Integer id);
    List<role> rolename(String account);

    List<role> rolename1(int id);

    void addquanxainfo(t_account_role params);
    void Delquanxainfo(t_account_role params);
    int queryacount_id(Integer id);
}
